#include "Thread.h"
#include <iostream>
#include <time.h>

using namespace BASE;

class TestThread: public Thread{
	void thread(){
		while(isRunning()){
			std::cout << "thread display" << std::endl;
		}
	}
};

int main(){
	TestThread t;
	t.start();
	sleep(2);
	return 0;
}
